package hos.demo

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import hos.demo.databinding.ActivityMainBinding
import hos.http.Http

class MainActivity : AppCompatActivity() {
    private val activityMainBinding by lazy { ActivityMainBinding.inflate(layoutInflater) }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(activityMainBinding.root)
        activityMainBinding.btn1.setOnClickListener {
            startActivity(Intent(this, NormalActivity::class.java))
        }
        activityMainBinding.btn2.setOnClickListener {
            startActivity(Intent(this, RetrofitActivity::class.java))
        }
        activityMainBinding.btn3.setOnClickListener {
            startActivity(Intent(this, SoapTrainActivity::class.java))
        }
    }
}